package com.fx.service;

import com.fx.entity.ChangeRecord;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author yfl
 * @email 617823298@qq.com
 * @date 2018-06-25 15:10:48
 */
public interface ChangeRecordService {
	
	ChangeRecord getById(String flId);
	
	List<ChangeRecord> getList(Map<String, Object> map);
	
	int getCount(Map<String, Object> map);
	
	int save(ChangeRecord changeRecord);
	
	int updateById(ChangeRecord changeRecord);
	
	int remove(String flId);
	
	int batchRemove(String[] flIds);

	List<ChangeRecord> getListByUserId(String userId);

    BigDecimal getWithdrawAmount(String userId);

	List<ChangeRecord> getWithdrawRecodeByUserId(String userId);
}
